package com.lai.gulimall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lai.common.utils.PageUtils;
import com.lai.gulimall.order.entity.OrderEntity;
import com.lai.gulimall.order.vo.OrderSettleVo;
import com.lai.gulimall.order.vo.OrderSubmitRespVo;
import com.lai.gulimall.order.vo.OrderSubmitVo;

import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * 订单
 *
 * @author laiciqi
 * @email 602469238@qq.com
 * @date 2021-11-07 12:14:37
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    OrderSettleVo confirmOrder() throws ExecutionException, InterruptedException;

    OrderSubmitRespVo submitOrder(OrderSubmitVo orderSubmitVo);
}

